package top.maof.book.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.maof.book.model.Likes;

public interface LikesService extends IService<Likes> {

    public boolean isExist(Integer userId, Integer bookId);

    public void remove(Integer userId, Integer bookId);

    public int likesNum(Integer bookId);

}
